package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Task)实体类
 *
 * @author jsm
 * @since 2023-03-26 17:23:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_task")
public class Task implements Serializable {
    private static final long serialVersionUID = -70321130232628917L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务名称
     */
    @TableField(value = "task_name")
    private String taskName;

    /**
     * 任务目标
     */
    @TableField(value = "task_goal")
    private String taskGoal;

    /**
     * 使用状态：使用中或已终止
     */
    @TableField(value = "task_state")
    private String taskState;
}
